
def outer(f):
    print('我是outer')
    def inner(*d):
        print(f'我是开始运算{f}')
        print(f(*d))
        print(f'我是结束运算')
    return inner

@outer
def myJian(a,b):
    c=a-b
    return c
@outer
def mySum(a,b):
    c=a+b
    return c


if __name__ == '__main__':
    # i=outer()
    # print(i)
    # i()
    mySum(10,20)
    mySum(140, 20)
    mySum(170, 20)
    mySum(190, 20)
    mySum(150, 20)
    myJian(160, 20)
    myJian(160, 240)
    myJian(160, 120)
    myJian(160, 209)













